package com.igeek.car.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xianlu")
@ApiModel(value="Xianlu对象", description="")
public class XianLu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线路编号，唯一标识每条长途汽车线路")
    @TableId(value = "route_id", type = IdType.AUTO)
    private String routeId;

    @ApiModelProperty(value = "线路名称")
    private String routeName;

    @ApiModelProperty(value = "出发地")
    private String departurePlace;

    @ApiModelProperty(value = "目的地")
    private String destination;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime departureTime;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime arrivalTime;

    @ApiModelProperty(value = "车辆编号，关联执行该线路的车辆")
    private String vehicleId;

    @ApiModelProperty(value = "是否运营，1表示是，0表示否")
    private Boolean isOperating;

    @ApiModelProperty(value = "运营周期，描述运营的时间范围")
    private String operatingPeriod;

    @ApiModelProperty(value = "线路描述")
    private String routeDescription;


}
